package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Class;
import cn.wolfcode.crm.domain.Class;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IClassService {
    void deleteByPrimaryKey(Long id);

    void insert(Class entity);

    Class selectByPrimaryKey(Long id);

    List<Class> selectAll();

    void changState(Long id);

    void updateByPrimaryKey(Class entity);

    PageResult query(QueryObject qo);
}
